import React, { forwardRef } from 'react'
import Swiper from 'react-native-swiper'

const LiuSwiper = (props, ref) => {
  return (
    <Swiper
      ref={ref}
      showsButtons={false}
      horizontal={true} loop={false}
      showsPagination={true}
      index={0}
      {...props}
    >
      {props.children}
    </Swiper>
  )
}

export default forwardRef(LiuSwiper)